Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Selectively Displaying Video


VDAddKeyColor

Some video digitizer components can support more than one active key color. The VDAddKeyColor function allows applications to add a key color to a component's list of active key colors.

pascal VideoDigitizerError VDAddKeyColor
                                  (VideoDigitizerComponent ci,
                                    long *index);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
index
Contains a pointer to the color to add to the key color list. The value of the index field corresponds to a color in the current color lookup table.
DESCRIPTION
If the digitizer component cannot accommodate any more key colors, it returns a result code of noMoreKeyColors.

RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
qtParamErr-2202Invalid parameter value
noMoreKeyColors-2205Key color list is full
SEE ALSO
To ensure that the key color list contains only the desired colors, your application should use the VDSetKeyColor function (described on page 8-82) to set the first key color.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help